import http from '@/utils/request'

const API_PREFIX = '/web/task-management'

export const fetchIntegrations = ({ tenantCode }) => http.get(`${API_PREFIX}/sql-agent/getIntegration/${tenantCode}`)

export const fetchMappingUser = params => http.get(`${API_PREFIX}/sys/user-mapping/list-select`, { params })
